package com.zcxy.mybatis.util.anotation;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

@Target({METHOD, FIELD})
@Retention(RUNTIME)

public @interface ManyToMany {

    /**
     * (Optional) The entity class that is the target of the association.
     *
     * <p>
     * Defaults to the type of the field or property that stores the association.
     */
    Class<?> targetEntity() default void.class;


}